package com.angel.dao.health;

import com.angel.core.base.BaseMapper;
import com.angel.health.BuzCustomer;
import com.angel.health.BuzDoctor;
import com.angel.health.BuzFamily;
import com.angel.health.BuzFamilyExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BuzFamilyMapper extends BaseMapper<BuzFamily>{
    int countByExample(BuzFamilyExample example);

    int deleteByExample(BuzFamilyExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BuzFamily record);

    List<BuzFamily> selectByExample(BuzFamilyExample example);

    BuzFamily selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzFamily record, @Param("example") BuzFamilyExample example);

    int updateByExample(@Param("record") BuzFamily record, @Param("example") BuzFamilyExample example);

    int updateByPrimaryKey(BuzFamily record);
    
    public List<BuzCustomer> queryCustomer(String search);
    
    public List<BuzDoctor> queryDoctor(String search);
    
}